package com.gt.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gt.admin.domain.FlowConfig;
import com.gt.admin.domain.apiVO.FlowConfigVVO;
import com.gt.admin.domain.apiVO.Version;
import com.gt.admin.domain.vo.FlowConfigVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 随访配置service
 */
public interface IFlowConfigService extends IService<FlowConfig> {
    List<Version> selectVersion(Long superId);
    FlowConfigVVO selectBySuperId(Long superId);
    FlowConfigVO selectById(Long id);
    @Transactional
    boolean update(FlowConfigVVO flowConfigVVO);
    @Transactional
    boolean deleteById(Long id);
}
